<?php
	$terning=0;
	$kast=0;
	while($terning != 6) {
		$terning=rand(1,6);
		$kast++;
		echo"du slog: $terning <br>";
	}
	echo"<br>du brugte: $kast slag";
?>